package com.sftz.assets.entities.question;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("paper_question")
public class PaperQuestionEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("标签")
	private String labelId;

	@Column
	@Comment("题型")
	private Integer questionType;

	@Column
	@Comment("类目id")
	private Integer categoryId;

	@Column
	@Comment("题干")
	private String stem;

	@Column
	@Comment("分数")
	private Integer score;

	@Column
	@Comment("主客观")
	private Integer objective;

	@Column
	@Comment("试题解析")
	private String analysis;

	@Column
	@Comment("答案选项(id串),主观题为空")
	private String answerOption;

	@Column
	@Comment("试题答案(客观题存A,B等选项,主观题直接存答案)")
	private String answer;

	@Column
	@Comment("是否删除")
	private Integer isDelete;

	@Column
	@Comment("创建者")
	private Integer creator;

	@Column
	@Comment("创建时间")
	private Date createTime;

	@Column
	@Comment("题库试题id")
	private Integer squestionId;

	@Column
	@Comment("材料题限制上传个数")
	private Integer limitedNumber;

	@Column
	@Comment("材料题限制文件大小")
	private Integer limitSize;

	@Column
	@Comment("课程id")
	private Integer courseId;

}
